virtual void draw_cartoon(vector& campos,vector& light,light_vertex& lights,float edgewidth)
Parameter | Type | Description |
---|---|---|
campos | vector& | the camera position relative to the mesh |
light | vector& | the ambient light |
lights | light_vertex& | the dynamic lights to illuminate the cartoon |
edgewidth | float | the cartoon edge (outline) width |
None
This function draws the mesh as a cartoon.